home *** CD-ROM | disk | FTP | other *** search
/ Aminet 32 / Aminet 32 (1999)(Schatztruhe)[!][Aug 1999].iso / Aminet / disk / misc / ADFlib.lha / Lib / adf_disk.h < prev    next >
C/C++ Source or Header  |  1999-05-09  |  977b  |  35 lines

  1. #ifndef _ADF_DISK_H
  2. #define _ADF_DISK_H 1
  3.  
  4. /*
  5.  *  ADF Library. (C) 1997-1998 Laurent Clevy
  6.  *
  7.  *  adf_disk.h
  8.  *
  9.  */
  10.  
  11. #include "prefix.h"
  12.  
  13. #include "adf_str.h"
  14. #include "adf_defs.h"
  15.  
  16. PREFIX RETCODE adfInstallBootBlock(struct Volume *vol,unsigned char*);
  17.  
  18. PREFIX BOOL isSectNumValid(struct Volume *vol, SECTNUM nSect);
  19.  
  20. PREFIX struct Volume* adfMount( struct Device *dev, int nPart, BOOL readOnly );
  21. PREFIX void adfUnMount(struct Volume *vol);
  22. PREFIX void adfVolumeInfo(struct Volume *vol);
  23. struct Volume* adfCreateVol( struct Device* dev, long start, long len, 
  24.     char* volName, int volType );
  25.  
  26. /*void adfReadBitmap(struct Volume* , long nBlock, struct bRootBlock* root);
  27. void adfUpdateBitmap(struct Volume*);
  28. */
  29. PREFIX RETCODE adfReadBlock(struct Volume* , long nSect, unsigned char* buf);
  30. PREFIX RETCODE adfWriteBlock(struct Volume* , long nSect, unsigned char* buf);
  31.  
  32. #endif /* _ADF_DISK_H */
  33.  
  34. /*##########################################################################*/
  35.